console.log(111);
function setList(value:string){
    let a=value
    return a
    
}
console.log(setList("123"),123);


//类型断言
let someValue="1234567890"
//尖括号写法
let strLength:number=(<string>someValue).length
//as语法写法
let strLength1:number=(someValue as string).length
console.log(strLength);
console.log(strLength1);

